<?php

namespace Drupal\shusy_store_order_line\ViewsController\handler\filter;

use Drupal\shusy_store_order_line\ViewsController\Traits\ShusyStoreOrderLineAmountTypeTrait;
use views_handler_filter_many_to_one;

class ShusyStoreOrderLineAmountTypeViewsFilter extends views_handler_filter_many_to_one {

  use ShusyStoreOrderLineAmountTypeTrait;

  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = "类型 0 正常 1 VIP 2 店铺进货 3 拼团 4 秒杀";
      $this->value_options = $this->getAmountTypeOptions();
    }
  }
}
